request Property (Busdataisland) |
Object that contains SOAP Message to be send to the back end.
Syntax
Inline HTML |
<div cordysType="wcp.library.data.BusDataIsland" request=oXMLDocumentObject > ... </div> |
Event property | busdataislandID.request = oXMLDocumentObject |
Parameters
Parameter | Description |
---|---|
oXMLDocumentObject | Object that denotes the XML Document of a SOAP Message that will be sent to the back end. |
Remarks
The value set for this property will be evaluated and the result should return a valid XMLDocument object. This is given as a parameter to the XMLHTTP object.
Example
The following example shows how the request property can be used.
//Function for sending the request <script type="cordys/xml" id="constructor"> <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <GetEmployee xmlns="http://schemas.cordys.com/1.0/demo/northwind"> <EmployeeID>1</EmployeeID> </GetEmployee> </SOAP:Body> </SOAP:Envelope> </script> <!-- Busdataisland definition --> <div cordysType="wcp.libaray.data.BusDataIsland id="bdiEmployees" request="constructor.XMLDocument" async="false"> </div>